export default [


    {
        //  登陆
        path: '/login',
        component: () => import('../views/login.vue')

    },
    {
        //  首页
        path: '/home',
        component: () => import('../views/home.vue'),
        children: [//主页的子级路由
            {//首页
                path: '/home',
                component: () => import('../components/home/home.vue'),
            },
            {//基本表格
                path: '/basicform',
                component: () => import('../components/Basicform/Basicform.vue'),
            },  
            {//柱状图
                path: '/Histogram',
                component: () => import('../components/Chart/Histogram.vue'),
            },
            {//折线图 
                
                path: '/linechart',
                component: () => import('../components/Chart/linechart.vue'),
            },
             {//折线图
                
                path: '/piechart',
                component: () => import('../components/Chart/piechart.vue'),
            }
        ]

    }
]